package com.moon.interview.constant;

public interface HotKeyConstant {

    String BANK_HOT_KEY = "bank_detail";

    /**
     * 获取题库的热点key
     * @param bankId 题库Id
     * @return
     */
    static String getUserSignInRedisKey(Long bankId) {
        return String.format("%s_%s", BANK_HOT_KEY, bankId);
    }
}
